package com.github.loveshorn.controller;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

/**
 * @author Stephen
 * @since 2017-11-29
 */
@RestController
@RequestMapping("/hello")
public class HelloController {



    @PostMapping("/demo")
    public Map<String, Object> demo() {
        Map<String, Object> map = new HashMap<>();


        return map;
    }
}
